import React from 'react'
// ===================================================================== global template
const { $Lazy } = window
const Page 		= $Lazy.load(()=>import('#tp/content/content-aside'))
const Container = $Lazy.load(()=>import('#tp/box/container'))
// =====================================================================
const Index = ({ children, title, controls, nobc, className, scroll, full, key }) => {
	return (
		<Page scroll={scroll} style={full?{padding:0}:{}} key={key}>
			<Container full={full} title={title} controls={controls} nobc={nobc} className={className}>
				{children}
			</Container>
		</Page>
	)
}

export default Index